package net.cloudsun.tree.orderbinary;

/**
 * @author Ryan
 * @since
 */
public class DuplicateKeyException extends RuntimeException {

    public <T extends Comparable<T>> DuplicateKeyException(T t) {
        super(String.format("the key %s is duplicated.", t.toString()));
    }
}
